package com.lyl.xxx.common.result;

import com.lyl.common.result.AbstractCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Mr.Luo
 */

@Getter
@AllArgsConstructor
public enum ErrorCode implements AbstractCode {
    //业务异常
    TOKEN_EXPIRED(10003, "token已过期，请重新登录"),
    TOKEN_PARSE_ERROR(10004, "token解析异常");

    private final int code;
    private final String msg;
}
